package com.ruoyi.college.mapper;

import com.ruoyi.college.domain.ExperimentScoreItem;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 实验评分项Mapper接口
 *
 * @author ruoyi
 */
public interface ExperimentScoreItemMapper{
    /**
     * 根据评分标准ID查询评分项列表
     *
     * @param standardId 评分标准ID
     * @return 评分项列表
     */
    List<ExperimentScoreItem> selectByStandardId(@Param("standardId") Long standardId);

    /**
     * 批量插入评分项
     *
     * @param items 评分项列表
     * @return 结果
     */
    int batchInsert(@Param("items") List<ExperimentScoreItem> items);

    /**
     * 根据评分标准ID删除评分项
     *
     * @param standardId 评分标准ID
     * @return 结果
     */
    int deleteByStandardId(@Param("standardId") Long standardId);

    void insertExperimentScoreItem(ExperimentScoreItem experimentScoreItem);

    void updateExperimentScoreItem(ExperimentScoreItem item);


}
